<?php

namespace app\api\controllers;

/*
 * Index Controller
 */

use app\common\basic\controller\BaseController;
use kernel\facade\Config;

class Index extends BaseController
{

    public function initialize()
    {
        // TODO: Implement initialize() method.
    }

    //demo method
    public function indexAction(){
//        echo "hello world" . PHP_EOL;
//        $a = $this->app;
//        var_dump($a);die;

        $config = Config::get("database.connections");
        var_dump($config);die;
    }





}